package com.buba.service;
import entity.device.EquipmentArchives;
import com.baomidou.mybatisplus.extension.service.IService;
import entity.sparemanage.dto.EquipmentArchivesDto;
import utils.PageResult;
import entity.device.dto.addEquipmentArchivesDto;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
public interface EquipmentArchivesService extends IService<EquipmentArchives> {

    /* *
     * @Author: beisheng
     * @Descriprion: 分页模糊查询设备信息
     * @Date: 2023/5/22 10:50
     * @Return: common.R
     * @Param: [equipmentArchives]
     */

    PageResult selAllequArch(EquipmentArchivesDto equipmentArchives);
    /**
     * @return utils.pageutil.PageResult
     * @Author atlong
     * @Description 分页模糊全查
     * @Date 2023/5/30 19:13
     * @Param [equipmentArchivesDto]
     **/
    utils.pageutil.PageResult selEquipmentArchives(EquipmentArchivesDto equipmentArchivesDto);

    /**
     * @return common.R
     * @Author atlong
     * @Description 添加设备档案信息
     * @Date 2023/6/5 21:16
     * @Param [add]
     **/
    void addEquipmentArchives(addEquipmentArchivesDto add);

    /**
     * @return boolean
     * @Author atlong
     * @Description //批量删除设备档案
     * @Date 2023/6/6 15:45
     * @Param [ids]
     **/
    boolean delEquipmentArchives(List<Integer> ids);
}
